﻿using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
using Volo.Abp.AspNetCore.Mvc.UI.Packages.MalihuCustomScrollbar;
using Volo.Abp.Modularity;

namespace Volo.Abp.AspNetCore.Mvc.UI.Theme.SB.Bundling
{
    [DependsOn(
    typeof(MalihuCustomScrollbarPluginScriptBundleContributor))]//权限会用到..而abp没有这个js
    class SBThemeGlobalScriptContributor : BundleContributor
    {
        public override void ConfigureBundle(BundleConfigurationContext context)
        {
            context.Files.Add("/libs/jquery-easing/jquery.easing.js");//sbadmin需要
            context.Files.Add("/libs/startbootstrap-sb-admin-2/js/sb-admin-2.js");
            context.Files.Add("/themes/sb/layout.js");
        }
    }
}
